package com.example.springbootdemo.entity;

import lombok.Data;

import java.io.Serializable;
import java.time.LocalDate;

/**
 * <p>
 * 
 * </p>
 *
 * @author 廖老师
 * @since 2023-11-24
 */
@Data
public class User implements Serializable {

    String email;

    private static final long serialVersionUID = 1L;

    private Integer id;

    private String name;

    private String pwd;

    private LocalDate birthday;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public LocalDate getBirthday() {
        return birthday;
    }

    public void setBirthday(LocalDate birthday) {
        this.birthday = birthday;
    }

    @Override
    public String toString() {
        return "User{" +
        "id=" + id +
        ", name=" + name +
        ", pwd=" + pwd +
        ", birthday=" + birthday +
        "}";
    }
}
